package org.onionframework.persistence.dao.functions.date;


public class HSQLDateFormatFunction extends AbstractDateFormatFunction {

	@Override
	protected Object getFunctionName() {
		return "to_char";
	}

	@Override
	protected String getPattern(String pattern) {
		pattern = super.getPattern(pattern);
		pattern = pattern.replace("mm", "mi").toUpperCase();
		return pattern;
	}
}
